package com.magenta.gis.lira;

import java.util.Hashtable;

import javax.naming.Context;
import javax.naming.NamingException;

import org.osjava.sj.memory.MemoryContextFactory;

public class TestMemoryContextFactory extends MemoryContextFactory {

    /**
     * Create a TestMemoryContextFactory
     */
    public TestMemoryContextFactory() {
        super();
    }

    /**
     * @see javax.naming.spi.InitialContextFactory#getInitialContext(java.util.Hashtable)
     */
    public Context getInitialContext(Hashtable environment) throws NamingException {
        TestMemoryContext context = new TestMemoryContext(environment);
        return context;
    }

}
